geometric operations with vectors